module.exports=function(){
	const os=require('os')
	let ipv4s=[]
	var interfaces = os.networkInterfaces()
	Object.keys(interfaces).forEach(key=>{
		interfaces[key].forEach(item=>{
			if ("IPv4" !== item.family || item.internal !== false) return;
			ipv4s.push(item.address);
		})
	})
	return ipv4s[0]
}